shared/microhttp-util: silence gcc warning
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 5 Jun 2022 08:24:15 +0000 (10:24 +0200)
committerMichael Biebl <biebl@debian.org>
Fri, 24 Jun 2022 08:12:34 +0000 (09:12 +0100)
commite9a0b0f9b0dc603135ca7ffb04c509b7f77d7d5e
tree8ccd951689828104431cf06d7026bc8d0413adbc
parentd7eeb5524f357bf6d3608f5d8b2d725242155750
shared/microhttp-util: silence gcc warning

../src/journal-remote/microhttpd-util.c: In function ‘check_permissions’:
../src/journal-remote/microhttpd-util.c:301:5: error: function might be candidate for attribute ‘noreturn’ [-Werror=suggest-attribute=noreturn]
  301 | int check_permissions(struct MHD_Connection *connection, int *code, char **hostname) {
      |     ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Fixes #23630.

(cherry picked from commit b547241728487c0dca22780241b04964f2eb37af)

Gbp-Pq: Name shared-microhttp-util-silence-gcc-warning.patch
src/journal-remote/microhttpd-util.c